package org.csu.petstore.ssm.service;

import org.csu.petstore.ssm.entity.Account;
import org.csu.petstore.ssm.entity.Consignee;

import java.util.List;


public interface AccountService {
    public Account getAccount(String username, String password) ;
    public Account getAccountByUsername(String username);
    public void insertAccount(Account account);
    public void updateAccount(Account account);
    public boolean selectAccountByUsername(String username);
    public boolean selectAccountByPassword(String password);
    public List<Consignee> getConsignee(String username);

}
